package com.example.ymm.modules1.entity.my.user;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 附件
 */

@Data
public class DbFile implements Serializable {

    @TableId
    private String fileId;


    String imgUrl;//文件地址

    String name;//文件名称

    String userId;

    String userName;

    String bookId;

    String bookName;


//    @ApiModelProperty(value = "是否删除：0->未删；1->已删")
//    @TableLogic
//    private Integer isDelete;

    @TableField(fill= FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(fill=FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;



}
